package models

import "time"

/**
 * @Author: zhaobin
 * @Description TODO
 * @Date: 2022-04-27 0:25
 */

type Role struct {
	Id          int64     `json:"id"`
	Title       string    `json:"title"`
	Description string    `json:"description"'`
	Status      *int      `json:"status"`
	CreatedAt   time.Time `json:"created_at"` // 列名是 `created_at`
	UpdatedAt   time.Time `json:"updated_at"` // 列名是 `updated_at`
}

func (Role) TableName() string {
	return "role"
}
